package com.mall.dao.custom;

import com.mall.controller.vo.CartVO;
import com.mall.dao.generator.CartMapper;
import com.mall.entity.Cart;

import java.util.List;

public interface CtCartMapper extends CartMapper {
    Cart selectByGoodsIdAndUserId(Integer goodsId, Integer userId);

    List<CartVO> selectCartVO(Integer userId);

    int deleteByGoodsIdAndUserId(Integer goodsId, Integer userId);
}